package com.maila.xiaoaoschool.entity;

import java.util.List;

/**
 * Created by mark on 2018/2/7.
 */

public class OrderData {

    /**
     * result : 1
     * message : 展示成功
     * data : [{"orderid":"205","ordersn":"15142828589253","shopid":"211","shoplogo":"211","shopname":"xukai","paystatus":"1","status":"3","is_acceptorder":"1","is_ping":"0","shopps":"0.00","allcost":"79.20","goods":[{"goodsname":"茶树菇烧肉","goodscount":"3"}]},{"orderid":"204","ordersn":"15142827989133","shopid":"211","shoplogo":"211","shopname":"xukai","paystatus":"1","status":"3","is_acceptorder":"1","is_ping":"0","shopps":"0.00","allcost":"72.80","goods":[{"goodsname":"朝鲜冷面","goodscount":"1"},{"goodsname":"茶树菇烧肉","goodscount":"2"}]}]
     */

    private String result;
    private String message;
    private List<DataBean> data;

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * orderid : 205
         * ordersn : 15142828589253
         * shopid : 211
         * shoplogo : 211
         * shopname : xukai
         * paystatus : 1
         * status : 3
         * is_acceptorder : 1
         * is_ping : 0
         * shopps : 0.00
         * allcost : 79.20
         * goods : [{"goodsname":"茶树菇烧肉","goodscount":"3"}]
         */

        private String orderid;
        private String ordersn;
        private String shopid;
        private String shoplogo;
        private String shopname;
        private String paystatus;
        private String status;
        private String is_acceptorder;
        private String is_ping;
        private String shopps;
        private String allcost;
        private String all_count;
        private List<GoodsBean> goods;

        public String getAll_count() {
            return all_count;
        }

        public void setAll_count(String all_count) {
            this.all_count = all_count;
        }

        public String getOrderid() {
            return orderid;
        }

        public void setOrderid(String orderid) {
            this.orderid = orderid;
        }

        public String getOrdersn() {
            return ordersn;
        }

        public void setOrdersn(String ordersn) {
            this.ordersn = ordersn;
        }

        public String getShopid() {
            return shopid;
        }

        public void setShopid(String shopid) {
            this.shopid = shopid;
        }

        public String getShoplogo() {
            return shoplogo;
        }

        public void setShoplogo(String shoplogo) {
            this.shoplogo = shoplogo;
        }

        public String getShopname() {
            return shopname;
        }

        public void setShopname(String shopname) {
            this.shopname = shopname;
        }

        public String getPaystatus() {
            return paystatus;
        }

        public void setPaystatus(String paystatus) {
            this.paystatus = paystatus;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getIs_acceptorder() {
            return is_acceptorder;
        }

        public void setIs_acceptorder(String is_acceptorder) {
            this.is_acceptorder = is_acceptorder;
        }

        public String getIs_ping() {
            return is_ping;
        }

        public void setIs_ping(String is_ping) {
            this.is_ping = is_ping;
        }

        public String getShopps() {
            return shopps;
        }

        public void setShopps(String shopps) {
            this.shopps = shopps;
        }

        public String getAllcost() {
            return allcost;
        }

        public void setAllcost(String allcost) {
            this.allcost = allcost;
        }

        public List<GoodsBean> getGoods() {
            return goods;
        }

        public void setGoods(List<GoodsBean> goods) {
            this.goods = goods;
        }

        public static class GoodsBean {
            /**
             * goodsname : 茶树菇烧肉
             * goodscount : 3
             */

            private String goodsname;
            private String goodscount;

            public String getGoodsname() {
                return goodsname;
            }

            public void setGoodsname(String goodsname) {
                this.goodsname = goodsname;
            }

            public String getGoodscount() {
                return goodscount;
            }

            public void setGoodscount(String goodscount) {
                this.goodscount = goodscount;
            }
        }
    }
}
